package com.ruoyi.worker.mapper;

import com.ruoyi.worker.domain.TermAttendanceRulesV2Domain;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TermAttendanceRulesV2Mapper {

    /**
     * @author: 陈宇寰
     * @date: 2021-12-22 17:56:15
     * @params:
     * @return:
     * @description: 新增或修改数据记录
     */
    void addOrUpdateRecord(TermAttendanceRulesV2Domain domain);

    /**
     * @author: 陈宇寰
     * @date: 2021-12-22 17:56:13
     * @params:
     * @return:
     * @description:
     */
    void changeStatus(Integer id);

    /**
    * @author: 陈宇寰
    * @date: 2021-12-23 09:24:19
    * @params:
    * @return:
    * @description: 查询考勤规则
    */
    List<TermAttendanceRulesV2Domain> ruleRecords();
}
